/*
 * Copyright (c) 2022 Kirky-X
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.lingeringdream.luciole.model.param;


/**
 * 参数：垃圾类别查询
 *
 * @author Kirky
 * @version 1.0
 * @date 2022/3/25
 */
public class ClassQueryParam {

    /**
     * 查询关键字
     */
    private String key;

    /**
     * 查询类别
     * true为中文查询，false为英文查询
     */
    private Boolean type;

    /**
     * 时间戳
     */
    private Long stamp;

    public ClassQueryParam() {
    }

    public ClassQueryParam(String key, Boolean type, Long stamp) {
        this.key = key;
        this.type = type;
        this.stamp = stamp;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public Long getStamp() {
        return stamp;
    }

    public void setStamp(Long stamp) {
        this.stamp = stamp;
    }
}
